package timing.aframe4l.xiaozhishi;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {
    @BindView(R.id.btnTryLogin)
    Button btnLogin;
    @BindView(R.id.tvTryLogin)
    TextView tvTryLogin;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.btnTryLogin)
    public void tryLogin(){
        startActivity(new Intent(this,LoginActivity.class));
    }
}
